Alma\Woocommerce\Tests\Helpers\GatewayHelperTest S

Total Complexity 29
Dependencies 14
Dependents 0
Total lines 352
Lines of code 217
Logical lines of code 129
Comment lines 31
Methods 29
Properties 8

Methods 29

Method Rating Maintainability Complexity Lines of code
test_cart_contains_excluded_category_setting_property_with_exclusion()
S
58 1 14
test_cart_contains_excluded_category_setting_property_no_exclusion()
S
58 1 14
test_woocommerce_available_payment_gateways_no_product_excluded()
S
60 1 13
test_woocommerce_available_payment_gateways_with_product_excluded()
S
60 1 13
test_get_default_plans_default_plan()
S
66 1 11
test_get_default_plans_default_plan_array_found()
S
66 1 11
tear_down()
S
64 1 11
test_woocommerce_alma_gateway_description_with_settings_and_no_blocks()
S
69 1 6
test_cart_contains_excluded_category_setting_property_not_an_array()
S
63 1 10
test_cart_contains_excluded_category_setting_property_not_exists()
S
66 1 8
test_cart_contains_excluded_category_empty_cart()
S
70 1 6
test_get_default_plans_default_plan_found()
S
67 1 10
test_get_default_plans_no_plans()
S
81 1 3
test_is_there_eligibility_in_cart_no_eligibility_found()
S
70 1 6
test_woocommerce_alma_gateway_description_with_wrong_gateway_id()
S
73 1 5
set_up()
S
63 1 10
test_woocommerce_alma_gateway_description_with_settings()
S
69 1 6
test_is_in_page_gateway()
S
80 1 3
test_get_alma_logo_text()
S
75 1 4
test_get_alma_logo_text_wrong_id()
S
79 1 3
test_woocommerce_alma_gateway_title_with_wrong_gateway_id()
S
73 1 5
test_woocommerce_alma_gateway_title_with_settings_and_no_blocks()
S
69 1 6
test_woocommerce_alma_gateway_title_with_settings()
S
69 1 6
test_woocommerce_gateway_description_without_settings()
S
75 1 4
test_woocommerce_gateway_description_with_settings()
S
69 1 6
test_woocommerce_gateway_title_without_settings()
S
75 1 4
test_woocommerce_gateway_title_with_settings()
S
69 1 6
test_woocommerce_available_payment_gateways_is_admin()
S
64 1 10
test_is_in_page_gateway_not_an_inpage()
S
80 1 3